package com.design;


/**
 *测试类
 */
public class MainTest {
    public static void main(String[] args) {
        System.out.println("发起支付宝支付。。。。。。");
        PayTemplate payTemplate = new AliPay();
        payTemplate.payOrder();

        System.out.println("==============================");
        System.out.println("发起微信支付。。。。。。");
        payTemplate = new WechatPay();
        payTemplate.payOrder();
    }
}
